/*
 * ProcessMessage.h
 *
 *  Created on: May 29, 2011
 *      Author: michael
 */

#ifndef PROCESSMESSAGE_H_
#define PROCESSMESSAGE_H_

#include "RawData.h"

namespace DerbyServ
{

class MainManager;

typedef void (*ProcessMessage) (MainManager & mainManager, RawType & raw, int connectionId);

std::map<enum Messages::MessageTypes, ProcessMessage> RegisterMessageProcessors();

} // namespace

#endif /* PROCESSMESSAGE_H_ */
